package com.hilon.segment.jpa.controller;

import com.hilon.base.controller.BaseController;
import com.hilon.segment.jpa.entity.ProductLine;
import com.hilon.segment.jpa.service.ProductLineService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/product-line")
public class ProductLineController extends BaseController<ProductLine> {
    public final ProductLineService productLineService;

    public ProductLineController(ProductLineService productLineService) {
        this.productLineService = productLineService;
        super.buildEntityHandleService(productLineService);
    }
}
